package com.ffcc.fitness.websocket.pojo;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 消息实体类
 */
@Data
public class Message {
    
    private Long messageId; // 消息ID
    
    private Long fromId;    // 发送者ID
    
    private Long toId;      // 接收者ID
    
    private String content; // 消息内容
    
    private Integer readStatus = 0; // 是否已读(0:未读 1:已读)
    
    private LocalDateTime createTime;
    
    private LocalDateTime updateTime;
}
